package com.gjszn.kh.model;

import com.gjszn.kh.utils.CIDUtils;

/**    
* @Title: UserVO.java  
* @Package com.gjszn.kh.model    
* @author jys@nx-yt.com    
* @date 2016年1月15日 下午4:31:41  
* @version V1.0    
* @Description: TODO(用一句话描述该文件做什么)
********************************************/
public class UserVO extends User {
	
	private String gender;
	
	private int age;
	
	private String province;
	
	private String referral; // 推荐人

	public String getGender() {
		return CIDUtils.getGender(super.getCid());
	}

	public int getAge() {
		return CIDUtils.getAge(super.getCid());
	}

	public String getProvince() {
		return CIDUtils.getProvince(super.getCid());
	}

	public String getReferral() {
		return referral;
	}

	public void setReferral(String referral) {
		this.referral = referral;
	}

	@Override
	public String toString() {
		return "UserVO [gender=" + getGender() + ", age=" + getAge() + ", province=" + getProvince() + ", referral=" + referral + "]";
	}

}

